package edu.ccut.saturn.studio.saturndata.wizard;

import edu.ccut.saturn.studio.core.util.wizard.SaturnWizard;
import edu.ccut.saturn.studio.saturndata.editor.SaturnDataEditor;

/** 
 * 数据项的向导
 * 
 * @author ：赵新峰		
 * @version 1.0 2008.12.25
 */
public class SaturnDataWizards extends SaturnWizard {
	
	@Override
	protected String getEditorID() {
		return SaturnDataEditor.SATURN_DATA_EDITOR_KEY;
	}

	@Override
	protected String getTemplatePath() {
		return "template/saturndata.ftl";
	}
	//获得文件名
	protected String getFileName() {
		return super.getValues().get(SaturnDataWizardsPage.SATURNDATA_WIZARD_TYPE_NAME) + ".saturndata";
	}
	
	//添加Wizardpage
	public void addPages() {
		addPage(new SaturnDataWizardsPage());
	}
}
